#编译hello.c 生成内核模块文件 hello.ko 
obj-m  += printkall.o
KERNEL_PATH=/home/andy/emb240103/e2000d/kernel/local/phytium-linux-kernel

all:
	make -C $(KERNEL_PATH) M=$(PWD) modules 
	cp *.ko /home/andy/emb240103/e2000d/e2000_d/nfsroot 
clean:
	make -C $(KERNEL_PATH) M=$(PWD) clean
